<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%@ include file="/commons/commonEdit.jsp"%>
<%@ include file="/commons/tabs.jsp"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>提交</title>
<script type="text/javascript" src="${ctx}/scripts/div/common.js"></script>
<script type="text/javascript" src="${ctx}/scripts/public.js"></script>
<script type="text/javascript" src="${ctx}/scripts/common/prototype.js"></script>
<script type="text/javascript" src="${ctx}/scripts/common.js"></script>
<script type="text/javascript" src="${ctx }/scripts/public3.js"></script>
<script type="text/javascript" src="${ctx}/scripts/ajaxException.js"></script>

<script>

	function sumbitWin(){
		var employeeId = $('employeeId').value;
		var inspectionRequistionId = $('inspectionRequistionId').value;
		var url = "${ctx}/renovation_depositAccountingAction.do?method=submitInfo&inspectionRequistionId="+inspectionRequistionId;
		new Ajax.Request(url,
			         { method:'post',
					   parameters:{employeeId:employeeId},
					   onComplete:refleshClose
					 });
	}

	function refleshClose(response){

		findFrame('main').reflesh(); //刷新主页面列表
		windowClose();
	}
</script>
</head>

<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td class="window_head_outBg"><table border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><img src="${ctx}/images/ico_Advance.gif" width="16" height="16" align="absmiddle" /> <span class="window_head_intext">提 交</span></td>
        </tr>
    </table></td>
  </tr>
  <tr><td class="aux_header_line_1"></td></tr>
  <tr><td class="aux_header_line_2"></td></tr>
  <tr>
    <td class="content">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="aux_outtable_color">
      <tr>
        <td>
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tab_line">
           <tr>
              <td valign="top">
			  <table width="100%" border="0" cellspacing="0" cellpadding="0" >
          		<tr>
            		<td colspan="5" >
					<table width="100%" border="0" cellspacing="0" cellpadding="0" id="crmGrid" class="gridControl gridArea">
                		<tr >
                      		<td width="50%" class="align_left"  onMouseOver="this.className='grid_sort_on align_left'" onMouseOut="this.className='align_left'"><span class="grid grid_head_line">负责人</span></td>
                      		<td width="50%" class="align_left" onMouseOver="this.className='grid_sort_on align_left'" onMouseOut="this.className='align_left'">部 门</td>
                      	</tr>
              		</table>
                	<table width="100%" border="0" cellspacing="0" cellpadding="0"  class='gridData2'>
                  		<tr class="grid">
                  			<td width="50%" class="grid align_left">
                  				<input type="hidden" id="inspectionRequistionId" name="inspectionRequistionId" value="${inspectionRequistionId }">
                  			   	<input type="hidden" id="employeeId" name="employeeId" value="${submitVO.value }">
                  				<span>${submitVO.name}</span></td>
                  			<td width="50%" class="grid align_left">${submitVO.remark}</td>
                  		</tr>
                	</table>
              		</td>
          		</tr>
        	</table>
        	</td>
          </tr>
        </table>
        </td>
      </tr>
    </table>
    </td>
  </tr>
  <tr>
    <td class="window_footer"><table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td class="buttonOffLeft" id="btn1_21"></td>
            <td class="buttonOffMiddle" id="btn1_22"   onblur="btn_change(2)" onMouseOver="btn_change_over(2)" onMouseOut="btn_change_out(2)" onClick="sumbitWin();"><img src="${ctx}/images/ico_ok.gif" border="0" align="absmiddle" /> 确 定</td>
            <td class="buttonOffRight" id="btn1_23"></td>
          </tr>
        </table></td>
        <td class="btn_between_space"></td>
        <td><table border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td class="buttonOffLeft" id="btn1_31"></td>
              <td class="buttonOffMiddle" id="btn1_32" onClick="windowClose();" onMouseOver="btn_change_over(3)" onMouseOut="btn_change_out(3)" onblur="btn_change(3)"><img src="${ctx}/images/ico_cancel.gif" alt="" width="14" height="14" border="0" align="absbottom" /> 取 消</td>
              <td class="buttonOffRight" id="btn1_33"></td>
            </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>